$OpenBSD: patch-CMakeLists_txt,v 1.4 2012/09/27 07:23:55 dcoppa Exp $
--- CMakeLists.txt.orig	Thu Mar 29 07:09:47 2012
+++ CMakeLists.txt	Thu Sep 27 09:15:40 2012
@@ -2,7 +2,7 @@ CMAKE_MINIMUM_REQUIRED(VERSION 2.8)
 PROJECT(DBICPP CXX C)
 
 LINK_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/lib)
-SET(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake/Modules modules)
+SET(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/modules)
 
 FIND_PACKAGE(uuid  REQUIRED)
 FIND_PACKAGE(pcre  REQUIRED)
@@ -71,13 +71,13 @@ IF (SQLITE3_FOUND)
     ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}/dbic++)
 ENDIF()
 
-ADD_EXECUTABLE(demo/demo src/examples/demo.cc)
-TARGET_LINK_LIBRARIES(demo/demo dbic++ dl ${UUID_LIBRARIES} ${PCRE_LIBRARIES})
+ADD_EXECUTABLE(demoapp src/examples/demo.cc)
+TARGET_LINK_LIBRARIES(demoapp dbic++ ${UUID_LIBRARIES} ${PCRE_LIBRARIES})
 
-ADD_EXECUTABLE(demo/async src/examples/async.cc)
-TARGET_LINK_LIBRARIES(demo/async dbic++ dl ${UUID_LIBRARIES} ${PCRE_LIBRARIES})
+ADD_EXECUTABLE(demoapp-async src/examples/async.cc)
+TARGET_LINK_LIBRARIES(demoapp-async dbic++ ${UUID_LIBRARIES} ${PCRE_LIBRARIES})
 
-ADD_DEFINITIONS(-Wall -Wno-sign-compare -rdynamic -fopenmp -fPIC -O3 -Wno-non-virtual-dtor)
+ADD_DEFINITIONS(-Wall -Wno-sign-compare -rdynamic -fPIC -Wno-non-virtual-dtor)
 ADD_DEFINITIONS(${UUID_DEFINITIONS} ${PCRE_DEFINITIONS})
 
 # Use -DCMAKE_INSTALL_PREFIX:PATH=<path> to override /usr/local
